<html>
<head><meta charset="utf-8"><title>type param references · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20param.20references.html">type param references</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="159659106"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/type%20param%20references/near/159659106" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> John Renner <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20param.20references.html#159659106">(Feb 28 2019 at 22:34)</a>:</h4>
<p>hi i'm working on adding gotodef/findallref for type parameters. It currently looks like they implement TypeRef but not NameRef and was wondering if that was intentional or if I could go through and add it. EDIT: Figured it out.</p>



<a name="159679405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/type%20param%20references/near/159679405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20param.20references.html#159679405">(Mar 01 2019 at 05:04)</a>:</h4>
<p>It’s not intentional, feel free to adjust grammar.ron and/or <a href="http://ast.rs" target="_blank" title="http://ast.rs">ast.rs</a>.</p>
<p>IIRC, TypeParam should be a NameOwner and have a bounds accessor.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>